// pages/integralMall/mallList/mallList.js
const app = getApp()
import api from '../../../utils/api'
let apis= api.api
Page({

	/**
	 * 页面的初始数据
	 */
	data: {
		imageURL:'https://cdn.oss.dgddaijia.com/icons/shop4.png',
		orderData:[],
	},

	/**
	 * 生命周期函数--监听页面加载
	 */
	onLoad: function(options) {
		// https://dageda.api.hjdz.ltd/goods/orderList
		var that = this;
		let url = apis.host+'goods/orderList';
		let data = {
			
		};
		apis.request(url,data,'POST').then(function(res){
			console.log('获取订单信息',res)
		}).catch(function(res){
			console.log('获取订单失败',res)
		})
	},
})
